<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<jsp:include page="../common/common.jsp"/>
<script type="text/javascript" src="/static/js/system/log.js"></script>
<style>
    .boxWidth {
        width: 210px !important;
    }
</style>
<script>
    $(function () {
        $(".textbox-prompt").addClass("boxWidth");
    })
</script>
<head>
    <title>系统日志</title>
</head>
<body>
<table id="log_list"></table>

<div id="log_toolbar">
    <a class="easyui-linkbutton" href="#" iconCls="icon-reload" plain="true" data-cmd="reload">刷新</a>
    <%--如何限制两个入职时间的大小--%>
    操作时间 <input id="minTime" type="text" class="easyui-datebox" name="minTime" panelHeight="230px"> -
    <input id="maxTime" type="text" class="easyui-datebox" name="maxTime" panelHeight="230px">
    <a class="easyui-linkbutton" href="#" iconCls="icon-search" plain="true" data-cmd="query">查询</a>
    <a class="easyui-linkbutton" href="#" iconCls="icon-redo" plain="true" data-cmd="exportEmp">导出</a>
    <a class="easyui-linkbutton" href="#" iconCls="icon-cancel" plain="true" data-cmd="deleteAll">删除</a>
</div>

<div id="log_dialog">
    <from id="log_form">
        <table style="margin: 0 auto;margin-top: 20px">
            <tr>
                <td><input label="操作人" type="text" class="easyui-textbox" name="opuser"
                           style="width: 300px;" labelWidth="90px" readonly></td>
            </tr>
            <tr>
                <td><input label="操作时间" type="text" class="easyui-textbox" name="optime"
                           style="width: 300px;" labelWidth="90px" readonly></td>
            </tr>
            <tr>
                <td><input label="IP地址" type="text" class="easyui-textbox" name="IP"
                           style="width: 300px;" labelWidth="90px" readonly></td>
            </tr>
            <tr>
                <td><input label="操作详情" type="text" class="easyui-textbox" name="function" readonly></td>
            </tr>
            <tr>
                <td><input label="操作参数" type="text" class="easyui-textbox" name="params" readonly></td>
            </tr>
        </table>
    </from>
</div>
<script>
    $('#log_dialog [name="function"]').textbox({
        height: 90,
        width: 300,
        multiline: true,
        labelWidth: 90
    });
    $('#log_dialog [name="params"]').textbox({
        height: 40,
        width: 300,
        multiline: true,
        labelWidth: 90
    });
</script>


<div id="log_diaButtons">
    <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">关闭</a>
</div>
</div>
</body>
</html>
